#include "ota_http_curl.h"
#include <stdio.h>
int main(int argc, char const *argv[])
{
    response_body_t *response_body= ota_http_curl_get("http://192.168.11.1:8000/fileinfo.json");
    printf(" response_body->body: %s\n",response_body->response_str);  

    int ret= ota_http_curl_download("http://192.168.11.1:8000/download/gateway","/home/atguigu/ota/gateway.update");
    
    return ret;
}
